package clases;

import java.util.ArrayList;
import java.util.Date;

public class CamaraInicio extends Camara{

    public CamaraInicio(ArrayList<Vehiculo> listaCoches) {
        super(listaCoches);
    }   
    
    public boolean cocheDetectado(String matricula){
        boolean variable = false;
        Vehiculo v = comprobarVehiculoEnListaStatica(matricula);
        if (v != null){
            detectarCoche2(v);
            variable = true;
        }
        return variable;     
    }
    
    public void detectarCocheNuevo(Vehiculo v){
        detectarCoche(v);
    }
}
